﻿<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>Rapid</title>
    @*样式文件*@
    <link id="style-theme" href="/content/easyui/themes/@ViewBag.Theme/easyui.css" rel="stylesheet" />
    <link href="/content/easyui/themes/icon.css" rel="stylesheet" />
    <link href="/content/easyui/extensions/icons/bullet.css" rel="stylesheet" />
    <link href="/content/easyui/extensions/icons/icons16.css" rel="stylesheet" />
    <link href="/content/manage/style.min.css" rel="stylesheet" />
    @*脚本文件*@
    <script src="/content/jquery-1.8.2.min.js"></script>
    <script src="/content/jquery.cookie.js"></script>
    <script src="/content/json2.js"></script>
    <script src="/content/easyui/jquery.easyui.min.js"></script>
    <script src="/content/easyui/locale/easyui-lang-zh_CN.js"></script>
    <script src="/content/easyui/extensions/controls/radio.js"></script>
    <script src="/content/easyui/extensions/controls/checkbox.js"></script>
    <script src="/content/easyui/extensions/easyui/loaderror.js"></script>
    <script src="/content/easyui/extensions/easyui/rules.js"></script>
    <script src="/content/easyui/extensions/easyui/smoothtree.js"></script>
    <script src="/content/manage/script.min.js"></script>
    <script src="/content/ueditor/ueditor.config.js"></script>
    <script src="/content/ueditor/ueditor.all.min.js"></script>
    <script src="/content/ueditor/lang/zh-cn/zh-cn.js"></script>
</head>
<body id="main-layout" class="easyui-layout">
    <div id="layout-north" data-options="region:'north'">
        <div class="north-box">
            <div id="layout-logo">
                <span class="l-btn-left l-btn-icon-left">
                    <span class="l-btn-icon icon-bricks">&nbsp;</span>
                    <span class="l-btn-text">jQuery EasyUI v1.5.0</span>
                </span>
            </div>
            <div id="layout-functions">
                @Easyui.MenuButton("icon-drawings", "切换主题", "#set-themes", true)
                <div id="set-themes" style="display: none; width: 150px;">
                    <div onclick="manage.changeTheme('default')">default</div>
                    <div onclick="manage.changeTheme('metro')">metro</div>
                    <div onclick="manage.changeTheme('gray')">gray</div>
                    <div onclick="manage.changeTheme('black')">black</div>
                    <div onclick="manage.changeTheme('bootstrap')">bootstrap</div>
                    <div onclick="manage.changeTheme('material')">material</div>
                </div>
                @Easyui.MenuButton("icon-customers", SessionFactory.CurrentUser.Name, "#layout-functions-menu", true)
                <div id="layout-functions-menu">
                    <div onclick="manage.updatePwd()">修改密码</div>
                    <div class="menu-sep"></div>
                    <div data-options="iconCls:'icon-exit'" onclick="manage.logout()">注销</div>
                </div>
            </div>
        </div>
    </div>
    <div id="layout-west" data-options="region:'west'">
        <div class="easyui-tabs" data-options="border:false,fit:true,tools:'#layout-west-tools'">
            <div data-options="title:'主菜单',iconCls:'icon-sitemap'">
                <div class="easyui-accordion" data-options="fit:true,border:false">@Easyui.MainMenu()</div>
            </div>
            <div data-options="title:'常用项',iconCls:'icon-application-view-tile'">
                <div class="easyui-layout" data-options="fit:true">
                    <div data-options="region:'north',border:false,height:31">
                        <div class="datagrid-toolbar" style="height:26px; padding:2px 8px;">
                            @Easyui.LinkButton("icon-reload", "刷新", "manage.menuFavoritesInit()", true)
                            @Easyui.LinkButton("icon-application-edit", "编辑", "manage.menuFavoritesEdit()", true)
                        </div>
                    </div>
                    <div data-options="region:'center',border:false">
                        <ul id="menufavorites-tree" class="easyui-tree" data-options="onClick:manage.menuOnClick,lines:true"></ul>
                    </div>
                </div>
            </div>
        </div>
        <div id="layout-west-tools">
            @Easyui.IconButton("layout-button-left", "收起菜单", "manage.collapseWest()", true)
        </div>
    </div>
    <div id="layout-center" data-options="region:'center'">
        <div id="layout-tabs">
            <div data-options="title:'欢迎使用',href:'/manage/home/welcome',iconCls:'icon-home'"></div>
        </div>
        <div id="layout-tabs-tools" style="display:none;">
            @Easyui.IconButton("icon-home", "转到主页", "manage.goToHome()", true)
            @Easyui.IconButton("icon-edit-add", "添加窗口", "manage.addCustomTab()", true)
            @Easyui.IconButton("icon-cross-octagon", "全部关闭", "manage.closeAllTabs()", true)
        </div>
        <div id="layout-tabs-menu">
            <div data-type="refresh" data-options="iconCls:'icon-reload'">刷新</div>
            <div class="menu-sep"></div>
            <div data-type="close">关闭</div>
            <div data-type="closeAll">关闭所有项</div>
            <div data-type="closeOther">除此之外全部关闭</div>
        </div>
    </div>
    <div id="layout-south" data-options="region:'south'">
        <div class="south-box">
            <span>COPYRIGHT &copy; LEIZHEN ALL RIGHTS RESERVED</span>
        </div>
    </div>
    <div id="layout-common-code" style="display:none;"></div>
</body>
</html>